div.teacher-item {
    float:left; 
}

table.teacher-item {   

    font-size: 88%;
    line-height: 1.5em;
    text-align: left;
    width: 23em;
    
    background: none repeat scroll 0 0 #F9F9F9;
    border: 1px solid #AAAAAA;
    clear: right;
    float: right;
   
    margin-bottom: 0.5em;
    margin-left: 1em;
    padding: 0.4em;
    vertical-align: middle;
    

 }
 
.teacher-item tbody td { background: #F0FCEE;}
 
.teacher-item td  {
    font-size: 125%;
    font-weight: bold;
    text-align: center;
    vertical-align: top;
 }
 
 .teacher-item td.text.basic {
    font-size:   100%;
 }
 
 .teacher-item td.text {
    font-size:   90%;
    line-height: 1.5em;
 }

 .teacher-item td.text.small {
    font: 80% Arial;
    line-height: 1.5em;
 }

 .teacher-item td.text.contacts {
    font-size:   80%;
    line-height: 1.5em;
    color:#A61717;
 }
 
 table.edit td, table.edit th{ padding:0; margin:0; }
 
 table.edit input , table.edit textarea{ width:100px;  }
 table.edit textarea { height:120px; }
 
 .subject { color:#24C105; font-weight:bold; margin:0 0 12px 0; }
 
 
 
 
 
 
 
 
 
 
 
 
 